package communicationClasses;

import java.io.Serializable;

/**
 * An object the client sends to the server to request a fund transfer.
 */
public class TransferRequest implements Serializable {
	private static final long serialVersionUID = -6515031187875628630L;
	private String fromAccount;
	private String toAccount;

	private int amount;

	public TransferRequest(String customer, String fromAccount,
			String toAccount, int amount) {
		this.fromAccount = fromAccount;
		this.toAccount = toAccount;
		this.amount = amount;
	}

	public TransferRequest(String fromAcc, String toAcc, int amount2) {
		// TODO Auto-generated constructor stub
	}

	public String getFromAccount() {
		return fromAccount;
	}

	public String getToAccount() {
		return toAccount;
	}

	public int getAmount() {
		return amount;
	}
}
